{% block sw_media_modal_folder_dissolve %}
<sw-modal
    variant="small"
    class="sw-media-modal-folder-dissolve"
    :title="$tc('global.default.warning')"
    @modal-close="closeDissolveModal"
>

    {% block sw_media_modal_folder_dissolve_body %}
    {{ $tc('global.sw-media-modal-folder-dissolve.dissolveMessage', { folderName: itemsToDissolve[0].name, count: itemsToDissolve.length }, itemsToDissolve.length) }}
    {% endblock %}

    {% block sw_media_modal_folder_dissolve_footer %}
    <template #modal-footer>

        {% block sw_media_modal_folder_dissolve__cancel_button %}
        <mt-button
            size="small"
            variant="secondary"
            @click="closeDissolveModal"
        >
            {{ $tc('global.default.cancel') }}
        </mt-button>
        {% endblock %}

        {% block sw_media_modal_folder_dissolve_confirm_button %}
        <mt-button
            class="sw-media-modal-folder-dissolve__confirm"
            size="small"
            variant="critical"
            @click="dissolveSelection"
        >
            {{ $tc('global.sw-media-modal-folder-dissolve.buttonDissolve') }}
        </mt-button>
        {% endblock %}

    </template>
    {% endblock %}
</sw-modal>
{% endblock %}
